#!/usr/bin/env python
# -*- coding: iso-8859-15 -
import commands
from view import *

head="""
<html>
<head>
<script src="jsdiff.js" type="text/Javascript"></script>
<script>
document.body.innerHTML = diffString('%s','%s')
</script>
</head>
<body>
</body>
</html>
""" % (commands.getoutput("co -p1.3 view.py"),commands.getoutput("co -p1.5 view.py"))

print head
print 
